package com.zswlib.netease.webapp.mapper;

import com.zswlib.netease.webapp.po.Author;
import com.zswlib.netease.webapp.po.Blog;
import com.zswlib.netease.webapp.po.Post;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by noble on 2018/2/5.
 */
@Component()
public interface BlogMapper {
    List<Blog> selectBlog2();
    Author selectAuthor2();
    List<Blog> listBlog();
    void saveBlog(Blog blog);
    List<Post> selectPost1(Post post);
}